home *** CD-ROM | disk | FTP | other *** search
/ Leonardo daVinci / LEODAVINCI.ISO / DATA / M5_HOME.Dxr / 00010_CLICK BUTTON.ls < prev    next >
Encoding:
Text File  |  1996-11-14  |  444 b   |  24 lines

  1. global vRollMaini, vNextMovie, vCurContext
  2.  
  3. on mouseDown
  4.   registerMouseDown(#code, vRollMaini)
  5.   clickSound(1)
  6. end
  7.  
  8. on mouseUp
  9.   if not validateMouseDown(#code, vRollMaini) then
  10.     exit
  11.   end if
  12.   set vNextMovie to getAt(vAreaNames, vRollMaini)
  13.   if vNextMovie <> EMPTY then
  14.     cursor(4)
  15.     setInterface(0)
  16.     setBack(vCurContext)
  17.     if the machineType = 256 then
  18.       go("fadeNgoW")
  19.     else
  20.       go("fadeNgo")
  21.     end if
  22.   end if
  23. end
  24.